package com.a214.yxz.yuejian013.Service;

import com.a214.yxz.yuejian013.Listener.ServiceListener;

/**
 * Created by Oliver on 9/29/2017.
 */

public interface ServiceIface<T> {
    public void getList(String mod, String userid, int page, String listorder, ServiceListener<T> listener);
    public void getOne(String mod, String id,ServiceListener<T> listener);
    public void getClubDetail(String mod, String club_id, ServiceListener<T> listener);
    public void getCollectionResult(String fan_id, String userid, String type, ServiceListener<T> listener);
    public void collect(String fan_id, String userid, String type, ServiceListener<T> listener);
    public void uncollect(String fan_id, String userid, String type, ServiceListener<T> listener);
    public void getColList(String userid, String type, ServiceListener<T> listener);
    public void getShaituList(String club_id, int page, ServiceListener<T> listener);
    public void getShaituDetail(String shaitu_id, ServiceListener<T> listener);
    public void getShaireply(String shaitu_id, ServiceListener<T> listener);
    public void createReply(String shaitu_id, String userid, String reply_userid, String reply, ServiceListener<T> listener);
    public void getMine(String userid, ServiceListener<T> listener);
    public void aboutUs(ServiceListener<T> listener);
    public void getAllOrder(String userid, int page, ServiceListener<T> listener);
    public void getOrderByState(String userid, int page, String vstate, ServiceListener<T> listener);
    public void updateUserName(String userid, String user_name, ServiceListener<T> listener);
    public void updateUserPass(String userid, String password, ServiceListener<T> listener);
    public void refund(String id, String type, ServiceListener<T> listener);
}
